[gd_scene load_steps=19 format=1]

[ext_resource path="res://scripts/asteroid.gd" type="Script" id=1]
[ext_resource path="res://scripts/shader/asteroid.tres" type="Shader" id=2]
[ext_resource path="res://images/asteroids/asteroid02_n.png" type="Texture" id=3]
[ext_resource path="res://images/asteroids/asteroid02_c.png" type="Texture" id=4]


[sub_resource type="ConvexPolygonShape2D" id=11]

custom_solver_bias = 0.0
points = Vector2Array( 96, -64, 106, -54, 116, -30, 120, 0, 120, 16, 116, 28, 106, 40, -26, 94, -38, 96, -52, 88, -72, 76, 80, -76 )

[sub_resource type="ConvexPolygonShape2D" id=12]

custom_solver_bias = 0.0
points = Vector2Array( 92, 78, 80, 100, 74, 108, 66, 116, 52, 122, 24, 116, 98, 56 )

[sub_resource type="ConvexPolygonShape2D" id=13]

custom_solver_bias = 0.0
points = Vector2Array( 98, 56, 24, 116, 4, 112, -4, 104 )

[sub_resource type="ConvexPolygonShape2D" id=14]

custom_solver_bias = 0.0
points = Vector2Array( 98, 56, -4, 104, -16, 98, 106, 40 )

[sub_resource type="ConvexPolygonShape2D" id=15]

custom_solver_bias = 0.0
points = Vector2Array( 106, 40, -16, 98, -26, 94 )

[sub_resource type="ConvexPolygonShape2D" id=16]

custom_solver_bias = 0.0
points = Vector2Array( 66, -90, 80, -76, -72, 76 )

[sub_resource type="ConvexPolygonShape2D" id=17]

custom_solver_bias = 0.0
points = Vector2Array( 44, -112, 52, -110, 60, -102, 66, -90, -72, 76, 22, -106 )

[sub_resource type="ConvexPolygonShape2D" id=18]

custom_solver_bias = 0.0
points = Vector2Array( 10, -106, 22, -106, -72, 76 )

[sub_resource type="ConvexPolygonShape2D" id=19]

custom_solver_bias = 0.0
points = Vector2Array( -4, -108, 10, -106, -72, 76, -16, -104 )

[sub_resource type="ConvexPolygonShape2D" id=20]

custom_solver_bias = 0.0
points = Vector2Array( -78, -74, -66, -92, -52, -100, -42, -104, -16, -104, -72, 76, -90, -50 )

[sub_resource type="ConvexPolygonShape2D" id=21]

custom_solver_bias = 0.0
points = Vector2Array( -96, -44, -90, -50, -72, 76 )

[sub_resource type="ConvexPolygonShape2D" id=22]

custom_solver_bias = 0.0
points = Vector2Array( -116, 0, -112, -20, -108, -30, -102, -38, -96, -44, -72, 76, -84, 74, -96, 68, -114, 48 )

[sub_resource type="ConvexPolygonShape2D" id=23]

custom_solver_bias = 0.0
points = Vector2Array( -124, 18, -116, 0, -114, 48, -124, 30 )

[sub_resource type="CanvasItemMaterial" id=10]

shader/shader = ExtResource( 2 )
shader/shading_mode = 0
shader_param/normal = ExtResource( 3 )

[node name="Asteroid" type="RigidBody2D"]

visibility/light_mask = 5
input/pickable = false
shapes/0/shape = SubResource( 11 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 12 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 13 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 14 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/3/trigger = false
shapes/4/shape = SubResource( 15 )
shapes/4/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/4/trigger = false
shapes/5/shape = SubResource( 16 )
shapes/5/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/5/trigger = false
shapes/6/shape = SubResource( 17 )
shapes/6/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/6/trigger = false
shapes/7/shape = SubResource( 18 )
shapes/7/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/7/trigger = false
shapes/8/shape = SubResource( 19 )
shapes/8/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/8/trigger = false
shapes/9/shape = SubResource( 20 )
shapes/9/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/9/trigger = false
shapes/10/shape = SubResource( 21 )
shapes/10/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/10/trigger = false
shapes/11/shape = SubResource( 22 )
shapes/11/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/11/trigger = false
shapes/12/shape = SubResource( 23 )
shapes/12/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/12/trigger = false
collision/layers = 1
collision/mask = 1
mode = 0
mass = 100.0
friction = 1.0
bounce = 0.0
gravity_scale = 1.0
custom_integrator = true
continuous_cd = 0
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
velocity/linear = Vector2( 0, 0 )
velocity/angular = 0.0
damp_override/linear = -1.0
damp_override/angular = -1.0
script/script = ExtResource( 1 )
__meta__ = { "__editor_plugin_screen__":"Script" }

[node name="Sprite" type="Sprite" parent="."]

visibility/light_mask = 5
material/material = SubResource( 10 )
texture = ExtResource( 4 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]

visibility/visible = false
build_mode = 0
polygon = Vector2Array( -4, -108, 10, -106, 22, -106, 44, -112, 52, -110, 60, -102, 66, -90, 80, -76, 96, -64, 106, -54, 116, -30, 120, 0, 120, 16, 116, 28, 106, 40, 98, 56, 92, 78, 80, 100, 74, 108, 66, 116, 52, 122, 24, 116, 4, 112, -4, 104, -16, 98, -26, 94, -38, 96, -52, 88, -72, 76, -84, 74, -96, 68, -114, 48, -124, 30, -124, 18, -116, 0, -112, -20, -108, -30, -102, -38, -96, -44, -90, -50, -78, -74, -66, -92, -52, -100, -42, -104, -16, -104 )
shape_range = Vector2( 0, 12 )
trigger = false


